tiny improvement of text widget ?



Hello everybody,

I'm working a lot with text widgets where i am tagging a lot of
characters. I usually put the list of indices (start - stop) in a list
and then a

eval $text tag add $tag $list

Knowing that there are generally 20 000 (up to more than 80 000)
indices in the list, I was wondering if it would speend up the process
if the indices could be transmitted as a list, like for example in
canvas : .canvas create line $ListOfIndices ?

I'm not sure this needs a TIP, and anyway, i'm not able to write one !
(I'm only a biologist !!)

Some thoughts about that ?

Thanks in advance !

Luc

.



Relevant Pages

  • Re: I dont know whats wrong here !
    ... > Level, ID, Tag, and Text; ... > going for any non-whitespace characters. ... Do you really need to slurp the entire input into an array? ... to be escaped or perl will try to interpolate them as arrays. ...
    (comp.lang.perl.misc)
  • Re: How do I distribute a PDF file formatted for the PDA?
    ... Bev, is it just a matter of telling Acrobat 'tag this', and it does it, or ... haven't had too much trouble with the AS tagger myself. ... > files transferred to a single ppc, for distribution to a number of ppc's, ... > comparison and often aborts and has problems tagging large pdf's. ...
    (microsoft.public.pocketpc)
  • regex puzzle!
    ... The objective is to extract the first n characters of text from an ... HTML block. ... simply extracting the first 400 characters of a HTML ... closing tag being excluding. ...
    (microsoft.public.dotnet.framework)
  • regex puzzle!
    ... The objective is to extract the first n characters of text from an ... HTML block. ... simply extracting the first 400 characters of a HTML ... closing tag being excluding. ...
    (microsoft.public.dotnet.framework.aspnet)
  • regex puzzle!
    ... The objective is to extract the first n characters of text from an ... HTML block. ... simply extracting the first 400 characters of a HTML ... closing tag being excluding. ...
    (microsoft.public.dotnet.general)