Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust all data buffer pointers when we slice the array.
This is the result of discussion in Lighthouse bug #72. No unit tests were broken in the implementation of this fix. The example code in the ticket now functions correctly over several iterations. One thing that may still need to be adjusted is the size of the buffer. The larger the buffer, the slower AMI performance is. This is due to the many places string offsets are used in the parsing. See: https://adhearsion.lighthouseapp.com/projects/5871-adhearsion/tickets/72-ami-lexer-buffer-offset#ticket-72-26
- Loading branch information
Showing
2 changed files
with
134 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters