BRILLIANT ! Thanks Jesse - much appreciated - and from where I am standing it is a superb solution ;-)
On a totally unrelated topic . . . I have noticed a 57,000 times speedup in the performance of DEV mode. Well, I may be exaggerating a little, but some time ago I moved to an i7 machine precisely because performance on my i5 became unbearably slow as my application grew. It was clear the whole thing was being recompiled every time I hit enter. I was getting 40-50 second responses. Moving to the i7 brought that down to about 10 seconds, which was still painful, but on the plus side gave me a LOT of thinking time. ;-) Now with CB 0.8.12 (and Erlang 17) I am getting sub-second response times, as you would expect. It's really too short to estimate by eye. Did something change? (Sorry - dumb question. I meant WHAT changed?) Anyway, thanks again g On 30 June 2014 12:37, Jesse Gumm <[email protected]> wrote: > Hi Graeme, > > I realize this is just as helpful as my last recommendation, but what > if you tried adding > > -compile({no_auto_import, [round/1]). to the top of your module? It's > not exactly a great fix, but it might work. > > I'm curious if that would fix it. > > -Jesse > > On Mon, Jun 30, 2014 at 12:23 AM, Graeme Defty <[email protected]> > wrote: > > . . . and finally (perhaps ;-) ) > > > > I am getting the error message: > > > > [{0,erl_lint,{call_to_redefined_old_bif,{round,1}}}] > > > > This comes from a generated function because I have a model called > 'round', > > and the model causing the error "-belongs_to(round)". > > > > Again, this is a change in behaviour - all was well before. > > > > This may well be a change in Erlang behaviour, but I raise it here in > case > > someone can either confirm that and/or point me to a place where there > is a > > parameter which allows BIF redefinition. > > > > (I also realise that I can stop using the word 'round' . . . but in a > > golfing application? Which is almost 17,000 lines of erlang??? I am not > > keen for that to be the answer - LoL ) > > > > Thanks again for any help. > > > > g > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "ChicagoBoss" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > Visit this group at http://groups.google.com/group/chicagoboss. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/chicagoboss/CAKF5fiCPJH8BoMMOi8rm_DJYFBG1wDu7TKi7-%3DxAo9AC9DLXrA%40mail.gmail.com > . > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Jesse Gumm > Owner, Sigma Star Systems > 414.940.4866 || sigma-star.com || @jessegumm > > -- > You received this message because you are subscribed to the Google Groups > "ChicagoBoss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at http://groups.google.com/group/chicagoboss. > To view this discussion on the web visit > https://groups.google.com/d/msgid/chicagoboss/CAPTXyXf6vZbhGKkrM4OUESDb8F6wpF52P3mEFuUiuKnAHyf7GQ%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/CAKF5fiAWp42EigUY58hO2Sv%3DvToc0K-QTH9BJT%3DcXNqx-91uGw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
