Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #12808
| Date | 2012-03-09 12:27 -0500 |
|---|---|
| From | Arne Vajhøj <arne@vajhoej.dk> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Question about loggers |
| References | (7 earlier) <17863687.969.1331305893320.JavaMail.geo-discussion-forums@vblb5> <jjd8i2$475$1@news.albasani.net> <jjd93h$gp$1@dont-email.me> <4f5a29c9$0$282$14726298@news.sunsite.dk> <jjddir$smo$1@dont-email.me> |
| Message-ID | <4f5a3d92$0$289$14726298@news.sunsite.dk> (permalink) |
| Organization | SunSITE.dk - Supporting Open source |
On 3/9/2012 12:10 PM, markspace wrote: > On 3/9/2012 8:03 AM, Arne Vajhøj wrote: ###Probably the blindingly obvious point that O(1) instantiation of the ###logger is better than a per-object O(n) instantiation. >> non static => initialize 1 instance and lookup in HashMap for each ref >> assignment > > All of which is O(n), and which takes time and CPU cycles. It is still not instantiation. And it does not change big O of anything. It do add little bit of overhead. But I can not see that being a real problem. Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Question about loggers Novice <novice@example..com> - 2012-03-07 21:52 +0000
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-07 17:16 -0500
Re: Question about loggers Novice <novice@example..com> - 2012-03-07 23:57 +0000
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-07 19:24 -0500
Re: Question about loggers Lew <noone@lewscanon.com> - 2012-03-08 07:22 -0800
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 10:27 -0500
Re: Question about loggers Lew <lewbloch@gmail.com> - 2012-03-08 11:58 -0800
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 15:49 -0500
Re: Question about loggers Robert Klemme <shortcutter@googlemail.com> - 2012-03-08 08:15 -0800
Re: Question about loggers markspace <-@.> - 2012-03-08 10:05 -0800
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-08 13:50 -0500
Re: Question about loggers Robert Klemme <shortcutter@googlemail.com> - 2012-03-09 07:11 -0800
Re: Question about loggers Lew <noone@lewscanon.com> - 2012-03-09 07:45 -0800
Re: Question about loggers markspace <-@.> - 2012-03-09 07:54 -0800
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-09 11:03 -0500
Re: Question about loggers markspace <-@.> - 2012-03-09 09:10 -0800
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-09 12:27 -0500
Re: Question about loggers Lew <lewbloch@gmail.com> - 2012-03-09 10:56 -0800
Re: Question about loggers Robert Klemme <shortcutter@googlemail.com> - 2012-03-09 20:29 +0100
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-09 11:04 -0500
Re: Question about loggers markspace <-@.> - 2012-03-09 09:14 -0800
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-09 12:22 -0500
Re: Question about loggers Lew <lewbloch@gmail.com> - 2012-03-09 10:58 -0800
Re: Question about loggers markspace <-@.> - 2012-03-07 15:21 -0800
Re: Question about loggers Novice <novice@example..com> - 2012-03-08 00:01 +0000
Re: Question about loggers Arne Vajhøj <arne@vajhoej.dk> - 2012-03-07 19:21 -0500
Re: Question about loggers Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-03-08 06:18 -0400
csiph-web