Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Cleanup of isSubType | Martin Odersky | 2014-02-26 | 1 | -24/+19 | |
| | ||||||
* | Performance improvement: Avoid unncecessary allocations of ListBuffer | Martin Odersky | 2014-02-26 | 3 | -235/+4 | |
| | | | | There were a lot in StoreReporter, as we are creating about 0.5M new ones per self-compile. | |||||
* | Performance tweak: Denotation.symbol is a parameter. | Martin Odersky | 2014-02-26 | 2 | -16/+13 | |
| | | | | This avoids the megamorphic dispatch on symbol before. Looked promising in the profiler (symbol showed up at 9%) but does not seem to gain much in practice. Still, can't hurt to do it. | |||||
* | Performance improvements: Split long TypeMap#mapOver and move hot fields ↵ | Martin Odersky | 2014-02-26 | 3 | -74/+92 | |
| | | | | into locals. | |||||
* | Reord of superIds | Martin Odersky | 2014-02-25 | 5 | -26/+23 | |
| | | | | | | | 1) We now keep an association between ClassSymbol and SuperId (instead of TypeRef and SuperId). That's better because superId's are deleted anyway after each run, so we gain nothing by keeping a stable ref. 2) hasChildren got dropped. It was too unreliable. The mere fact that someone take's the superId of a class does not means that that class has children. | |||||
* | Performance improvement: Avoid most operations in interpolateUndetVars | Martin Odersky | 2014-02-25 | 4 | -73/+39 | |
| | | | | | | Perform the operation only if there are qualifying type variables, which is rarely the case. Reverted variances optimization to simpler and shorter previous implementation, because variances is no longer hot. | |||||
* | Misc performance improvements by eliminating stupid allocations | Martin Odersky | 2014-02-24 | 5 | -21/+25 | |
| | | | | | | - Avoid closure creation in Position. - Avoid creating debug string in SymDenotations - Avoid creating Flag translation tables in pickle buffers | |||||
* | Avoid memory leaks on repeated compilation. | Martin Odersky | 2014-02-24 | 10 | -36/+54 | |
| | | | | | | | | | | | | | | | | | Several measures: 1. Invalidate classOfId and superIdOfClass in ContextBase after each run. These contain local classes that should become inaccessible. 2. Also clear implicitScope cache that maps types to their implicit scopes after each run. (not sure whether this is needed; it did show up in paths from root, but on second thought this might have been a gc-able cycle. 3. Avoid capturing contexts in lazy annotations. 4. Avoid capturing contexts in functions that compute souceModule and moduleClass 5. Avoid capturing contexts in Unpickler's postReadOp hook. | |||||
* | Resetting uniques and hashset reorg. | Martin Odersky | 2014-02-24 | 5 | -59/+83 | |
| | | | | Uniques are now cleared after each run. Also, HashSets get a more standard API, without a label, but with configurable load factor. | |||||
* | Performance improvement: Streamline successful toplevel subtype checks | Martin Odersky | 2014-02-24 | 2 | -22/+20 | |
| | ||||||
* | Discard inaccessible denotations when merging. | Martin Odersky | 2014-02-24 | 2 | -12/+15 | |
| | | | | | | | | | | | When froming the &=merge of two denotations, we now discard denotations which have inaccessible symbols. The reason for this change is that, without it, the following code gives the warning "cannot merge Int and Int() as members of one type, keeping only Int()". val m = new java.util.HashMap m.size Indeed java.util.HashMap has a filed and method which are both named size. The field is package private, so is inaccessible from outside java.util, however. | |||||
* | Performance improvements: Changes to TypeAccumulators and variances. | Martin Odersky | 2014-02-24 | 4 | -36/+95 | |
| | ||||||
* | Performance improvement: Specialize folds in accumulators. | Martin Odersky | 2014-02-24 | 2 | -5/+11 | |
| | ||||||
* | More statistics for created and retained trees | Martin Odersky | 2014-02-24 | 4 | -3/+20 | |
| | ||||||
* | Update some paths to relative | Nada Amin | 2014-02-24 | 1 | -4/+4 | |
| | ||||||
* | Merge pull request #27 from adriaanm/master | DarkDimius | 2014-02-23 | 1 | -11/+6 | |
|\ | | | | | Fix typos in docs | |||||
| * | Fix typos in docs | Adriaan Moors | 2014-02-23 | 1 | -11/+6 | |
|/ | ||||||
* | Update AUTHORS.md | odersky | 2014-02-23 | 1 | -1/+1 | |
| | ||||||
* | Update AUTHORS.md | odersky | 2014-02-23 | 1 | -1/+1 | |
| | ||||||
* | Update AUTHORS.md | odersky | 2014-02-23 | 1 | -1/+1 | |
| | ||||||
* | Update AUTHORS.md | odersky | 2014-02-23 | 1 | -2/+3 | |
| | ||||||
* | Update AUTHORS.md | odersky | 2014-02-23 | 1 | -1/+1 | |
| | ||||||
* | Update AUTHORS.md | odersky | 2014-02-23 | 1 | -9/+9 | |
| | ||||||
* | Update AUTHORS.md | odersky | 2014-02-23 | 1 | -1/+1 | |
| | ||||||
* | Update AUTHORS.md | odersky | 2014-02-23 | 1 | -1/+1 | |
| | ||||||
* | Create AUTHORS.md | odersky | 2014-02-23 | 1 | -0/+51 | |
| | ||||||
* | Update README.md | odersky | 2014-02-22 | 1 | -1/+1 | |
| | ||||||
* | Performance improvement: Cache uninstatiated typevars in constraints | Martin Odersky | 2014-02-21 | 2 | -17/+19 | |
| | | | | | | | Pro: Much faster to iterate through uninstantiated type variables Con: Constraints can no longer be value classes. Still this seems to give a net win of ~2%. | |||||
* | Caching of implicit members | Martin Odersky | 2014-02-21 | 1 | -7/+11 | |
| | | | | Also, some streamlining in the way memberNames are computed. | |||||
* | Performance improvement: Special-case implementation of underlyingIfRepeated | Martin Odersky | 2014-02-21 | 1 | -2/+6 | |
| | ||||||
* | Peformance improvement: Better basetype caching | Martin Odersky | 2014-02-21 | 1 | -4/+4 | |
| | | | | Now first checks in cache before going into special case for static classes (derivesFrom on types is not free!) | |||||
* | Performance tuning: Inline TypeAlias case for hot maps. | Martin Odersky | 2014-02-21 | 4 | -42/+73 | |
| | ||||||
* | Bug fix: fix of typo in secondTry | Martin Odersky | 2014-02-21 | 1 | -1/+1 | |
| | ||||||
* | Bug fix: Logic for taking variance into account for TypeBounds comparisons ↵ | Martin Odersky | 2014-02-21 | 1 | -6/+3 | |
| | | | | was broken. | |||||
* | Bug fix: newSyntheticTypeParam did not incorporate paramFlags | Martin Odersky | 2014-02-21 | 1 | -1/+1 | |
| | ||||||
* | Reverted: Avoid using TypeBounds in alias refinements. | Martin Odersky | 2014-02-21 | 10 | -178/+75 | |
| | | | | The idea is to use the alias itself. This cuts down on # of typebounds created and makes operations on refined infos and applied types more direct. (reverted from commit 81f31f9b71bc4466d3f04f5ce28ef94051688ecd) | |||||
* | Performance improvement: Replace == with equals in util.HashTable | Martin Odersky | 2014-02-21 | 1 | -3/+3 | |
| | ||||||
* | Drop unique hashing for superId bitsets | Martin Odersky | 2014-02-21 | 2 | -8/+1 | |
| | | | | Reason: (1) There are few sets: When compiling doty itself, 1.2K sets total, hashed to 500 uniques. (2) Bitset comparison is expensive because it relies on a double inclusion test. (This should be fixed in the Scala stdlib). | |||||
* | Performance improvement in LRUCache | Martin Odersky | 2014-02-21 | 1 | -2/+2 | |
| | | | | Use eq for key comparisons in LRUCache. | |||||
* | Performance improvement: inline hasAltWith | Martin Odersky | 2014-02-21 | 2 | -2/+11 | |
| | | | | Gives us ~1%, it seems. | |||||
* | Avoid using TypeBounds in alias refinements. | Martin Odersky | 2014-02-21 | 10 | -75/+178 | |
| | | | | The idea is to use the alias itself. This cuts down on # of typebounds created and makes operations on refined infos and applied types more direct. | |||||
* | Disentangling SelectionProto and RefinedType | Martin Odersky | 2014-02-21 | 4 | -35/+30 | |
| | | | | There were too many problems caused by it, and too little gained. So, now SelectionProto is no longer a Subtype of RefinedType. | |||||
* | Merge pull request #26 from DarkDimius/runMain | Vlad Ureche | 2014-02-20 | 1 | -0/+232 | |
|\ | | | | | Script for running compiler outside sbt | |||||
| * | Script for running compiler outside sbt | Dmitry Petrashko | 2014-02-20 | 1 | -0/+232 | |
|/ | ||||||
* | Made blacklist in ScannerTest ignore the source path location of the ↵ | Martin Odersky | 2014-02-16 | 1 | -4/+4 | |
| | | | | blacklisted file. | |||||
* | Some small doc changes | Martin Odersky | 2014-02-16 | 2 | -1/+10 | |
| | ||||||
* | Merge pull request #23 from VladUreche/topic/scala-compile | DarkDimius | 2014-02-16 | 3 | -10/+28 | |
|\ | | | | | Add Scalac scanning to the Travis CI build | |||||
| * | Add Scalac scanning to the Travis CI build | Vlad Ureche | 2014-02-16 | 3 | -10/+28 | |
|/ | | | | | And silence some of the error messages we print so the build log doesn't go above 4MB (Travis' limit) | |||||
* | Added information about mailing list to README | DarkDimius | 2014-02-15 | 1 | -0/+2 | |
| | ||||||
* | Removed clean (thanks @sjrd) | Vlad Ureche | 2014-02-14 | 1 | -1/+1 | |
| |