Dmitry Olshansky
f76167f231
Avoid allocation happiness in StringCache
...
Add nice s-box driven hash function, noticeble improvement (still StringCache alone)
Optimize isWhite and drop extra check on first iter of lexWhiteSpace; almost 10% of speed gain
Also dialdown -O switch of ldc2, as it makes no difference.
2013-02-08 00:18:04 +04:00
Hackerpilot
511c785675
Even faster
2013-02-05 01:04:45 +00:00
Hackerpilot
5a6477f2ee
More faster-er.
2013-02-04 16:34:58 -08:00
Hackerpilot
0b8834a1b3
Small code cleanup. Added ldc build command.
2013-02-03 16:20:52 +00:00
Hackerpilot
4adaae9e06
Better performance
2013-02-03 01:32:16 +00:00
Hackerpilot
9e0c334276
Massive code refactoring.
2013-02-02 20:13:19 +00:00
Hackerpilot
fe7a6bf4b0
Following Phobos style guide more closely
2013-02-01 22:19:40 -08:00
Hackerpilot
bd4f5cd85a
Do not allocate when lexing keywords and operators
2013-02-01 01:42:20 -08:00
Hackerpilot
a5ed81b711
4 times as fast
2013-01-30 02:08:35 +00:00
Hackerpilot
1055a47087
Merge branch 'range-based-lexer' of https://github.com/Hackerpilot/Dscanner into range-based-lexer
2013-01-27 14:22:11 +00:00
Hackerpilot
31ffb3f470
compile errors
2013-01-27 14:21:04 -08:00
Hackerpilot
31f59384b9
parser fixes
2013-01-27 14:00:14 -08:00
Hackerpilot
e7555b2f05
struct
2013-01-27 14:22:09 +00:00
Hackerpilot
9a6e765335
Special tokens, ddoc, better highlighter colors
2013-01-27 01:09:02 +00:00
Hackerpilot
c7b84ca0cc
DDOC
2013-01-24 13:55:31 -08:00
Hackerpilot
9e670cca65
Built-in types are keywords
2013-01-24 11:02:09 -08:00
Hackerpilot
f4b001f623
Fixed filtering of comments, whitespace, etc.
2013-01-23 13:36:32 -08:00
Hackerpilot
bd97d1b393
special token sequence
2013-01-22 17:42:26 -08:00
Hackerpilot
fbfdc37cf5
Moved lexer over to std.d
2013-01-21 17:39:59 +00:00