copying large string from clipboard is slooooooooooooooooooooooooooooow

Tom Glod tom at makeshyft.com
Wed Aug 15 17:43:04 EDT 2018


hhhmmmm.... that could be the reason indeed. will do more tests.

Will have to revisit and do some bug reports that i didn't have time to do
when i first started using  rawclipboarddata  i know there is at least 1
hard crash when catching a clipboard error (which i have no idea why i was
getting).  i couldn't wait so i switched to using clipboarddata which still
worked for what i needed.

sigh.

Thanks Brian.

On Wed, Aug 15, 2018 at 5:33 PM, Brian Milby via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Several keys cause the engine to perform work on the data before returning
> it. I would compare with pulling data from the raw clipboard to ensure the
> engine is not manipulating it first.
>
> Thanks,
> Brian
> On Aug 15, 2018, 4:25 PM -0500, Richard Gaskin via use-livecode <
> use-livecode at lists.runrev.com>, wrote:
> > Tom Glod wrote:
> >
> > > Hey Peeps... so I'm stress testing a clipboard tool I have been
> > > working on .....and copying a large key from the clipboard array into
> > > a variable (such as the king james bible from the guttenberg project)
> > > takes a really long time.
> >
> > What is the size? It's been a long time since I worked with that file.
> >
> >
> > > like 3 or 4 seconds ....(for each key)
> > >
> > > its a large string...but thats crazy.
> > >
> > > I'm copying from "the clipboarddata" ... not rawdata or fulldata.
> > >
> > > should i report bug? or is there a legit reason why this is so?
> >
> > Depends. That's a very rare use case, one not likely optimized for by
> > many apps, or even the OS.
> >
> > So one way to get a feel for whether LC is indeed slow there is to
> > compare with another program:
> >
> > How long does it take to copy with the file is opened in Word?
> > And from WordPad?
> > Might also get comparisons with any other program you have lying around
> > that can be used for that.
> >
> > --
> > Richard Gaskin
> > Fourth World Systems
> > Software Design and Development for the Desktop, Mobile, and the Web
> > ____________________________________________________________________
> > Ambassador at FourthWorld.com http://www.FourthWorld.com
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list