Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #2971
| From | Roger L Costello <costello@mitre.org> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Why is flex pattern-matching of NULs slow? |
| Date | 2022-04-08 11:06 +0000 |
| Organization | Compilers Central |
| Message-ID | <22-04-001@comp.compilers> (permalink) |
Hi Folks,
The Flex manual says this:
Pattern-matching of NULs is substantially slower
than matching other characters.
Why is that?
/Roger
[My recollection is that zero is used as a flag value in internal
tables and there is some slow kludge to say that this is a nul not the
flag, but perhaps someone who has looked at the code more recently
will remember the details. -John]
Back to comp.compilers | Previous | Next — Next in thread | Find similar
Why is flex pattern-matching of NULs slow? Roger L Costello <costello@mitre.org> - 2022-04-08 11:06 +0000 Why is flex pattern-matching of NULs slow? Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2022-04-09 21:40 +0300
csiph-web