dkpro-core
dkpro-core copied to clipboard
CasTransformation is slow when many changes have to be made
If CasTransformation is used the apply a lot of changes, it is very slow.
Original issue reported on code.google.com by torsten.zesch on 2012-06-05 16:18:46
Added updateCaches() that should be called before done after running modifications and
before doing a lot of resolving to speed things up a bit. This caches the start position
at the moment. Resolving would further be improved if it would really calculate all
offsets in one go, because then resolving would basically be a lookup. Currently, resolving
requires a lot of iteration through the linked list of segments.
Original issue reported on code.google.com by richard.eckart on 2012-06-09 21:27:21
Thanks for looking into it.
I ran the experiments again. It seems to be a bit faster, but still too slow for production
use.
Original issue reported on code.google.com by torsten.zesch on 2012-06-12 07:09:11
(No text was entered with this change)
Original issue reported on code.google.com by richard.eckart on 2012-10-13 18:31:41
- Labels added: DKPro-ASL
(No text was entered with this change)
Original issue reported on code.google.com by richard.eckart on 2013-09-29 14:57:45
- Labels added: Module-castransformation
(No text was entered with this change)
Original issue reported on code.google.com by torsten.zesch on 2014-02-28 11:47:33