Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.java.programmer Subject: Re: Compare generics (that are numbers) Date: Thu, 30 Jul 2020 11:33:40 +0200 Organization: Decebal Computing Lines: 12 Message-ID: <87zh7h5ouj.fsf@munus.decebal.nl> References: <87k0ym73id.fsf@munus.decebal.nl> <87ft9a6u35.fsf@munus.decebal.nl> <87bljy6qu3.fsf@munus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="f8d0a939acc3a275654d8d40652c9997"; logging-data="23504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/e/TOkhQOxFEFoh1VvX0s2NSVetL0tsHs=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:9sy7xJZblkdk/YTHjLRfkmJwZt0= sha1:XMo/aJ0Pj78my7f2rEmdHBaBjxI= Xref: csiph.com comp.lang.java.programmer:39600 Arne Vajhøj writes: > But if this is performance critical then why not just drop the > generic stuff and write specific code for the types? Because I want to show the differences between using Float/float/Integer/int and different implementations thereof. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof