[squeak-dev] The Trunk: Compiler-ul.103.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Dec 6 21:45:54 UTC 2009

Levente Uzonyi uploaded a new version of Compiler to project The Trunk:

==================== Summary ====================

Name: Compiler-ul.103
Author: ul
Time: 6 December 2009, 8:00:45 am
UUID: 8100e26f-3d13-9f48-9218-a8fd95ca5347
Ancestors: Compiler-ul.102

- faster Scanner >> #initScannerForTokenization (by a factor of ~3.38)

=============== Diff against Compiler-ul.102 ===============

Item was changed:
  ----- Method: Scanner>>initScannerForTokenization (in category 'initialize-release') -----
  	"Use a version of typeTable that doesn't raise xIllegal when enocuntering an _"
  	| underscoreIndex |
+ 	underscoreIndex := typeTable identityIndexOf: #xUnderscore ifAbsent: [^self].
- 	underscoreIndex := typeTable indexOf: #xUnderscore ifAbsent: [^self].
  	typeTable := typeTable copy.
  	typeTable at: underscoreIndex put: #xUnderscoreForTokenization!

More information about the Squeak-dev mailing list