Git Product home page Git Product logo

Comments (3)

donghyeon3813 avatar donghyeon3813 commented on September 4, 2024

객체를 초기화할 때 hashCode가 필요하지 않은 상황에도 초기화를 하게 되면 자원의 낭비가 이루어집니다.
더군다나 hashcode를 초기화하는 비용 자체도 높다면 그 낭비가 더욱 심해지기 때문에 지연 초기화 전략을 구사하려는 것 같아요

from studylog.

polarHub25 avatar polarHub25 commented on September 4, 2024

그러면 필요할때만 해시코드 메서드를 호출하면 되지않나요??

from studylog.

polarHub25 avatar polarHub25 commented on September 4, 2024

지연초기화 라는 개념 자체를 제가 잘못 이해하고 있던거같습니다. 결국 필요할때 호출되서 사용할수있도록 하는게 지연초기화라는 개념이라는것을 이해했습니다. !

from studylog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.