강의

멘토링

커뮤니티

Inflearn Community Q&A

dongwook98's profile image
dongwook98

asked

[Renewal] Introduction to JavaScript in Zero Seconds through Coding Self-Study

Drawing the screen (documentFragment)

fragment 질문

Written on

·

273

0

fragment는 메모리를 사용하니까 직접 화면에 그리는것보다 빠른 건가요?

그렇다면 메모리 속도 > 화면 그리는 속도 라고 봐도 될까요??

javascript

Answer 2

0

dongwook98님의 프로필 이미지
dongwook98
Questioner

답변 감사합니다 :)

0

zerocho님의 프로필 이미지
zerocho
Instructor

메모리속도랑 화면 그리는 속도를 비교하는 건 이상하고요.

fragment를 메모리에 저장해 놨다가 한 번에 그리느냐 아니면 매번 그때그때 append를 하느냐의 차이입니다. 한 번에 그리는 게 빠르겠죠.

dongwook98's profile image
dongwook98

asked

Ask a question