Re: [racket-users] Structs vs Lists

2016-10-27 Thread Ken MacKenzie
I hope to be a trend setter. Haven't really introduced myself but I find racket a great toolset for getting

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Ken MacKenzie
ll, a little bit of nostalgia. > > > > MHO, Jos > > > > -Original Message- > > From: racket-users@googlegroups.com [mailto:racket-users@ > googlegroups.com] On Behalf Of Ken MacKenzie > > Sent: jueves, 27 de octubre de 2016 19:28 > > To: Racket

Re: [racket-users] Structs vs Lists

2016-10-27 Thread David Storrs
ostalgia. > > MHO, Jos > > -Original Message- > From: racket-users@googlegroups.com [mailto:racket-users@googlegroups.com] On > Behalf Of Ken MacKenzie > Sent: jueves, 27 de octubre de 2016 19:28 > To: Racket Users > Cc: deviloc...@gmail.com > Subject: Re: [ra

RE: [racket-users] Structs vs Lists

2016-10-27 Thread Jos Koot
@googlegroups.com] On Behalf Of Ken MacKenzie Sent: jueves, 27 de octubre de 2016 19:28 To: Racket Users Cc: deviloc...@gmail.com Subject: Re: [racket-users] Structs vs Lists Thank you for the information. Good to know. Performance isn't the first thing I am thinking about, but as I am tinkering and getting

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Ken MacKenzie
Thank you for the information. Good to know. Performance isn't the first thing I am thinking about, but as I am tinkering and getting running with Racket I like to kind of dig into the underlying structure to know the cost of certain operations. Ken > For accessing an arbitrary member, yes.

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Jon Zeppieri
On Thu, Oct 27, 2016 at 1:09 PM, Ken MacKenzie wrote: > Thank you that makes sense. Vectors are fixed length so in theory could I > also say a Vector is possibly more performant than an equivalent list? > > Ken > For accessing an arbitrary member, yes. A Racket vector is

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Ken MacKenzie
Thank you that makes sense. Vectors are fixed length so in theory could I also say a Vector is possibly more performant than an equivalent list? Ken On Thursday, October 27, 2016 at 12:58:06 PM UTC-4, Jon Zeppieri wrote: > On Thu, Oct 27, 2016 at 12:16 PM, Ken MacKenzie

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Jon Zeppieri
On Thu, Oct 27, 2016 at 12:16 PM, Ken MacKenzie wrote: > This is a question more about the footprint of each. Deep down is a > Struct really just syntactic sugar over a list. Not in Racket (or in most Lisps these days). > As in most things in Lisp from my