Re: [racket-dev] More Scribble optimization; contracts?

2012-11-09 Thread Robby Findler
I think the contracts on struct accessors (and specifically in scribble core data structures) is significant. If you have ideas on how to speed them up, that'd be welcome. I think they are set up to be easily disabled (they are added with a macro somewhere) so you can time things if you want. FWIW

Re: [racket-dev] [plt] Push #25666: master branch updated

2012-11-09 Thread Danny Yoo
On Fri, Nov 9, 2012 at 5:40 PM, Robby Findler wrote: > Was it actually faster? > > Unfortunately I couldn't observe the change switching from display to write-string: it was within the margin of noise. _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] More Scribble optimization; contracts?

2012-11-09 Thread Danny Yoo
I've been hammering on the problem of speeding up scribble. One of the things that's a surprise is that the contract checks on the part/element structure appear to be significant because Scribble documents are so granularly structured. I focus on extract-part-style-files in scribble/base-render.r

Re: [racket-dev] [plt] Push #25666: master branch updated

2012-11-09 Thread Robby Findler
Was it actually faster? Robby On Fri, Nov 9, 2012 at 5:46 PM, wrote: > dyoo has updated `master' from daca1c0d5b to 7618a6a737. > http://git.racket-lang.org/plt/daca1c0d5b..7618a6a737 > > =[ 2 Commits ]== > Directory summary: > 100.0% c

Re: [racket-dev] [PATCH] Add a `zip' procedure to lists

2012-11-09 Thread Vincent St-Amour
Providing `zip' is still useful IMO, both for people who don't know / remember that trick and as a shorthand. Vincent At Fri, 9 Nov 2012 07:34:35 -0500 (EST), J. Ian Johnson wrote: > > [forgot reply all] > zip is unnecessary because of n-ary map. > (zip l0 l1) = (map list l0 l1) > -Ian > -

Re: [racket-dev] Racket doesn't compile without cairo

2012-11-09 Thread Eli Barzilay
Four hours ago, Sam Tobin-Hochstadt wrote: > On Fri, Nov 9, 2012 at 4:57 AM, Marijn wrote: > > I've had a report that building racket without X doesn't work if > > cairo is not installed. Presumably in this mode it should not need > > cairo, right? > > Libraries like `racket/draw` and `slideshow/

Re: [racket-dev] [PATCH] Add a `zip' procedure to lists

2012-11-09 Thread Diogo F. S. Ramos
"J. Ian Johnson" writes: > zip is unnecessary because of n-ary map. > (zip l0 l1) = (map list l0 l1) Indeed. And that's how I did it. But I think `zip' is explicit with the intent. _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] [PATCH] Add a `zip' procedure to lists

2012-11-09 Thread J. Ian Johnson
[forgot reply all] zip is unnecessary because of n-ary map. (zip l0 l1) = (map list l0 l1) -Ian - Original Message - From: "Diogo F. S. Ramos" To: dev@racket-lang.org Sent: Thursday, November 8, 2012 11:46:15 PM GMT -05:00 US/Canada Eastern Subject: [racket-dev] [PATCH] Add a `zip' procedu

Re: [racket-dev] Racket doesn't compile without cairo

2012-11-09 Thread Sam Tobin-Hochstadt
On Fri, Nov 9, 2012 at 4:57 AM, Marijn wrote: > I've had a report that building racket without X doesn't work if cairo > is not installed. Presumably in this mode it should not need cairo, right? Libraries like `racket/draw` and `slideshow/pict` don't need X -- they can produce PDFs or PNGs or ot

[racket-dev] Racket doesn't compile without cairo

2012-11-09 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've had a report that building racket without X doesn't work if cairo is not installed. Presumably in this mode it should not need cairo, right? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mo

Re: [racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-11-09 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19-07-12 16:59, Marijn wrote: > Hi, > > I've been having some performance problems when using lots of items > in table-panels[1]. Switching tabs when running the following > example exhibits the problem. Can anything be done about it? So it seems

[racket-dev] internal error when saving as

2012-11-09 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, in DrRacket 5.3.1 I just got an internal error when trying to "Save As" a file to a new name. Selecting a file, hitting search button, changing the file name and hitting Save. I haven't been able to reproduce, but different strange things happen.