Skip to content
Nikos Katsanos Blog
  • About
  • Posts

Category: jmh




Search…

Recent Posts

  • Netty Websocket SSL
  • Building A Logo Turtle App With Antlr And JavaFX
  • Brushing Up My C. Building A Unix Domain Socket Client/Server (PART II)
  • Brushing Up My C. Building A Unix Domain Socket Client/Server (Part I)
  • Migrating Modules/Directories Between GIT Repos

Tags

apache-commons-cli builder cPickle deadlock design pattern developers disruptor enum haskell Hbm2Java hibernate hibernate_tools inheritance IntelliJ Java java9 javap jconsole jdk7vsjdk8 jdk9 jmh jpa jshell jstack jython linux Live Templates lmax log4j log4j2 macos object oriented performance polyglot polyglot_developer ProcessAPI ProcessHandle ProcessHandle.Info python singleton test thread factory threading time vim

Categories

  • c
  • Design Patterns
  • Hibernate
  • Java
  • Java Libraries
  • jmh
  • linux
  • Productivity
  • Programming Languages
  • Uncategorised




Java

Java, The Cost of a Single Element Loop


In quite a few cases I have seen myself designing code with listeners and callbacks. It is quite common for a class that emits events, to expose an API to attach listener(s) to it. Those listeners are usually stored in a data structure (see List, Set, Array) and when an…
Posted on 27th October 201927th October 2019 by nikkatsa
Nikos Katsanos Blog | Designed by Smartcat Smartcat Logo