summaryrefslogtreecommitdiff
path: root/src/library/scala/reflect/Manifest.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-09-26 16:40:18 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-12-27 10:58:14 +0100
commit186e3bf4027a8c2b9bf0550f1aacff5ee4be2313 (patch)
tree601ac8207afa1a401fcd3488ca47b00d4ae976a4 /src/library/scala/reflect/Manifest.scala
parentd2a7aa4ba1c048e52affb0eb2b9167a18dc29c83 (diff)
downloadscala-186e3bf4027a8c2b9bf0550f1aacff5ee4be2313.tar.gz
scala-186e3bf4027a8c2b9bf0550f1aacff5ee4be2313.tar.bz2
scala-186e3bf4027a8c2b9bf0550f1aacff5ee4be2313.zip
bind + argc specialization = 20x perf boost
Default logic of mirror construction, which gets triggered via reflectField/reflectMethod/reflectConstructor, validates a lot of facts about its arguments. This takes quite a bit of time, which significantly degrades performance of reflection-heavy applications. Proposed two changes provide an order of magnitude performance boost to a simple app, which repeatedly invokes the same method for different receiver instances.
Diffstat (limited to 'src/library/scala/reflect/Manifest.scala')
0 files changed, 0 insertions, 0 deletions